package com.panshi.mapper;


import com.panshi.vo.InstationVO;
import com.panshi.vo.PageSizeVO;
import com.panshi.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    //查询用户
    UserVO findUserQuery(int uid);
    //修改用户
    int updateUser(UserVO userVO);
    //修改密码
    String judge (UserVO userVO);
    UserVO findUserQuerys(int uid);
    void upDatePossword(UserVO userVO);

    //站内消息
    List<InstationVO> findInsQuery(PageSizeVO pageSizeVO);

    List<UserVO> findUserQueryList(PageSizeVO pageSizeVO);
    int findCount();

}
